﻿namespace wwm.LeetCodeHelper.Servers;
/// <summary>
/// 相关配置
/// </summary>
public static class Config
{
    /// <summary>
    /// uri
    /// </summary>
    public static EndoPointUri uri = new EndoPointUri()
    {
        us = new Uris()
        {
            Base = "https://leetcode.com/",
            Login = "https://leetcode.com/accounts/login/",
            Graphql = "https://leetcode.com/graphql",
            ProblemsAll = "https://leetcode.com/api/problems/all/",
            Problem = "https://leetcode.com/problems/$slug",
            Submit = "https://leetcode.com/problems/$slug/submit/",
            Submission = "https://leetcode.com/submissions/detail/$id/"
        },
        cn = new Uris()
        {
            Base = "https://leetcode.cn/",
            Login = "https://leetcode.cn/accounts/login/",
            Graphql = "https://leetcode.cn/graphql",
            ProblemsAll = "https://leetcode.cn/api/problems/all/",
            Problem = "https://leetcode.cn/problems/$slug",
            Submit = "https://leetcode.cn/problems/$slug/submit/",
            Submission = "https://leetcode.cn/submissions/detail/$id/"
        }
    };
}

public enum ProblemStatus
{
    Accept,
    NotAccept,
    NotStart
}

public enum ProblemDifficulty
{
    Easy,
    Medium,
    Hard,
}

public enum SubmissionStatus
{
    Accepted,
    CompileError,
    WrongAnswer,
    TimeLimitExceeded
}

public enum EndPoint
{
    US,
    CN,
}
